<!DOCTYPE html PUBLIC "-//IETF//DTD HTML//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ToDo Notes</title>
<html>
<link rel="stylesheet" href="http://barton-prettify.googlecode.com/svn/trunk/sons-of-obsidian.css"/>
<body>
<pre 
<table>
<tr><td>
This section enables classes to be Publisher & Subscriber</td><td> 
<pre class="prettyprint">
/**
 *  Initialize the Models and Views
 */
function init() {     
    snack.publisher(BWH.TodoList);
    snack.publisher(BWH.Event);
    
    BWH.TodoList.init('BWH.ToDo');
    BWH.TodoView.init();
    BWH.TodoListView.init();

    BWH.TodoList.loadAll();
}
</pre>
</td>
</table>





<script src='http://barton-prettify.googlecode.com/svn/trunk/prettify.js'/>
<script>prettyPrint();</script>
</body>
</html>
